package com.taptech.doufu.ui.activity;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;

import com.taptech.doufu.R;
import com.taptech.doufu.ui.activity.base.DiaobaoBaseActivity;
import com.taptech.doufu.ui.view.personalcenter.TagsCollectListView;

/**
 * Created by longsiyang on 16/4/6.
 */
public class DFRssActivity extends DiaobaoBaseActivity
{
    private FrameLayout framelayout;

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_dfrss);
        initsView();
    }

    private void initsView()
    {
        framelayout = (FrameLayout) findViewById(R.id.frame_dfrss);
        LayoutInflater mLi = LayoutInflater.from(this);
        View keepview = mLi.inflate(R.layout.activity_tags_collect_list, null);
        new TagsCollectListView(DFRssActivity.this, keepview, TagsCollectListView.TYPE_ORDER);
        framelayout.addView(keepview);
    }

    public void onClick(View v)
    {
        switch (v.getId())
        {
            case R.id.iv_dfrss_back:
                DFRssActivity.this.finish();
                break;
        }
    }
}
